package com.tbgov.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 家庭成员社会治理表
 * </p>
 *
 * @author 1st
 * @since 2024-11-19
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("family_member_governance")
@Schema(name = "FamilyMemberGovernance", description = "家庭成员社会治理表")
public class FamilyMemberGovernance implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "社会治理主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @Schema(description = "关联家庭成员(family_member)主键id")
    private Long memberId;
    @Schema(description = "信访类型 0:家情邻债 1:涉法涉诉 2:检举控告 3:合同纠纷 4:劳务损伤 5:其他")
    private Byte type;
    @Schema(description = "信访内容")
    private String content;
    @Schema(description = "是否越级信访 0:否 1:是 默认0")
    private Byte isJump;
    @Schema(description = "信访时间")
    private LocalDateTime startTime;
    @Schema(description = "信访地点")
    private String address;
    @Schema(description = "是否解决 0:否 1:是 默认0")
    private Byte isSolve;
    @Schema(description = "系统自动创建")
    private LocalDateTime createTime;
    @Schema(description = "系统自动修改")
    private LocalDateTime updateTime;
}
